package main
import (
	"fmt"
)

type mysum func(int,int)int
type mystring string

func sum(n1,n2 int) int{
	return n1+n2
}
func getsum(add mysum,n1 int,n2 int) int {
	fmt.Printf("add mysum's Type : %T;\n",add)
	return add(n1,n2)
}
func Ptln(str mystring){
	fmt.Println("=====",str)
}
func main(){
	var str string = "Hello World!"
	add := sum
	fmt.Printf("main sum's Type : %T;\n",add)
	fmt.Println("Add Result : == ",getsum(mysum(add),1,2))
	Ptln(mystring(str))
}